import React, { PropsWithChildren } from 'react';
import RegisterForm from './RegisterForm'


type RegisterProps = { codeUrl: string, refreshCode: (n: number) => void };
type Props = PropsWithChildren<RegisterProps>
export default function LoginPanel(props: Props) {
    return <div className="l-panel  panel-cm">
        <h2 className="header">Register</h2>
        <div className="form fx-c">
            <RegisterForm codeUrl={props.codeUrl} refreshCode={props.refreshCode} />
        </div>
    </div>
}

